$highlight-color: #bc1a21;
$highlight-color-rgba: rgba(249, 85, 85, 53);
$highlight-color-active: #bc1a21;
$white-color: #fff;
$black-color-rgba: rgba(0, 0, 0, 0.38);

.swiper-pagination {
  font-size: 0;
  bottom: .133333rem;
  width: 100%;
  text-align: center;

  .swiper-pagination-bullet {
    width: .266667rem;
    height: .106667rem;
    opacity: 1;
    border-radius: .266667rem;
    margin: 1px .02rem !important;
    background: rgba(255, 255, 255, 0.4);
    transition: 0.3s;

    &.swiper-pagination-bullet-active {
      background: rgba(255, 255, 255, 1);
    }
  }
}

.scrollTop {
  position: fixed;
  bottom: 10%;
  right: 25px;
  z-index: 20;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: #717171;
  cursor: pointer;
  transition: 0.3s ease all;
  transform: scale(0);

  &.active {
    transform: scale(1);
  }

  &:hover {
    background: $highlight-color;
  }
}

.search-box {
  position: relative;

  input {
    background-color: #fff;
    border-radius: .133333rem;
    padding: .186667rem .746667rem;
    background-position: .266667rem center;
    background-repeat: no-repeat;
    background-image: url(../images/icon_search.png);
    background-size: .346667rem;
    width: 100%;

  }
}

.banner {
  position: relative;
  margin-top: .266667rem;

  .swiper-pagination {
    bottom: .133333rem;
  }

  .swiper-container {
    .swiper-slide {
      height: 3.466667rem;
      border-radius: .133333rem;

      a {
        display: block;
        border-radius: .133333rem;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
      }

    }
  }
}

.index-tabs {
  background-color: #fff;
  padding-top: .533333rem;
  border-radius: .266667rem;
  margin-top: -0.266667rem;

  ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;

    li {
      width: 25%;
      text-align: center;
      margin-bottom: .466667rem;

      img {
        width: 1.173333rem;
        height: 1.173333rem;
      }

      p {
        font-size: .373333rem;
        color: #666666;
        padding-top: .133333rem;
      }
    }
  }

}



.index-notice {
  height: .933333rem;
  border-radius: .2rem;
  background: #f6f6f6;
  padding: 0 .186667rem;
  position: relative;


  .notice-img {
    position: absolute;
    top: 50%;
    margin-top: -0.266667rem;
    left: .186667rem;


    img {
      width: 1.6rem;
      height: .533333rem;

    }

  }

  .swiper-container {
    margin-left: 1.866667rem;
    height: 100%;

    .swiper-slide {
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        display: block;
        width: 100%;
        position: relative;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .373333rem;
        color: #444444;

      }
    }
  }

}

.buy-btn {
  margin-top: .32rem;
  background-color: #f9f9f9;
  padding: .4rem 0;

  img {
    width: 100%;
  }
}

.comm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 1.173333rem;

  &::before {

    content: '';
    position: absolute;
    top: 50%;
    left: .4rem;
    margin-top: -0.213333rem;
    height: .426667rem;
    width: .08rem;
    background-color: #128afc;
    border-radius: .4rem;
  }

  span {
    padding-left: .293333rem;
    font-size: .533333rem;
    font-weight: bold;
  }

  a {
    color: #999999;
    font-size: .373333rem;
  }
}



.event-list {
  padding: 0 0 0 .4rem;
  border-top: 1px solid #eeeeee;

  li {

    padding: .346667rem 0;
    padding-right: .4rem;
    border-bottom: 1px solid #eeeeee;

    &:last-child {
      border-bottom: none;
    }

    .title {
      font-size: .453333rem;
      font-weight: bold;
      line-height: .48rem;
    }

    .det {
      display: flex;
      background-color: #f9f9f9;
      border-radius: .133333rem;
      margin: .24rem 0;
      padding: .226667rem .426667rem;

      dl {
        margin-right: .906667rem;

        dt {
          font-size: .32rem;
          color: #999999;
          padding-bottom: .186667rem;
        }

        dd {
          font-size: .4rem;
          color: #666666;
        }
      }

      .red {
        color: #f55b03;
        font-weight: bold;
      }
    }

    .host-name {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      font-size: .4rem;

      img {
        width: .4rem;
        height: .4rem;
        border-radius: 50%;
        margin-right: .133333rem;
      }

    }

  }
}



.line-block {
  height: .4rem;
  background-color: #f9f9f9;
}

.perform-sec {
  background-color: #fff7ed;
  border-radius: .133333rem;
  padding: .453333rem 0 0 .4rem;
  position: relative;
  background-size: 3.56rem;
  min-height: 3.733333rem;


  .perf-tit {
    font-size: .426667rem;
  }

  article {
    font-size: .32rem;
    color: #9f7848;
    line-height: .48rem;
    margin-top: .266667rem;
  }
}

.perform-wrap {
  padding-bottom: .4rem;

  .swiper-slide {
    width: 9.2rem;
  }
}

.perform-sec {
  display: flex;
  justify-content: space-between;

  .text {
    width: 6rem;
  }

  .img {
    width: 3.56rem;
  }

}



.live-wrap {
  background-color: #f9f9f9;
  padding: .4rem;
  display: flex;
  justify-content: space-between;

}

.live-con {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 .64rem;
  height: 1.466667rem;
  border-radius: 1.466667rem;
  background: linear-gradient(to right, #1daeff, #534cfc);
  color: #fff;

  .num-box {
    display: flex;
    align-items: center;

    article {
      font-size: .453333rem;
    }
  }
}

.live-avatar {
  display: flex;

  span {
    width: .8rem;
    height: .8rem;
    display: block;
    margin-right: -0.266667rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
  }

}


#waves {
  height: .506667rem;
  margin-right: .333333rem;

}

#waves li {
  position: relative;
  float: left;
  height: 100%;
  width: 2px;
  overflow: hidden;
  margin-right: .08rem;
}

#waves li span {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: .133333rem;
}

#waves .li1 span {
  animation: waves 0.6s linear 0s infinite alternate;
  -webkit-animation: waves 0.6s linear 0s infinite alternate;
}

#waves .li2 span {
  animation: waves 0.9s linear 0s infinite alternate;
  -webkit-animation: waves 0.9s linear 0s infinite alternate;
}

#waves .li3 span {
  animation: waves 1s linear 0s infinite alternate;
  -webkit-animation: waves 1s linear 0s infinite alternate;
}

#waves .li4 span {
  animation: waves 0.8s linear 0s infinite alternate;
  -webkit-animation: waves 0.8s linear 0s infinite alternate;
}

@-webkit-keyframes waves {
  10% {
    height: 20%;
  }

  20% {
    height: 60%;
  }

  40% {
    height: 40%;
  }

  50% {
    height: 100%;
  }

  100% {
    height: 50%;
  }
}

@keyframes waves {
  10% {
    height: 20%;
  }

  20% {
    height: 60%;
  }

  40% {
    height: 40%;
  }

  50% {
    height: 100%;
  }

  100% {
    height: 50%;
  }
}


.ring-con {
  border-top: 1px solid #eeeeee;

  .ring-list {
    padding: 0 0 0 .4rem;

    li {
      padding: .4rem .4rem .4rem 0;
      border-bottom: 1px solid #eeeeee;

      &:last-child {
        border-bottom: none;
      }

      a {
        display: flex;
        justify-content: space-between;
      }

      figure {
        width: 2rem;
        height: 2rem;
        position: relative;

        img {
          max-width: 100%;
          max-height: 100%;
          border-radius: .106667rem;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }

      section {
        width: 6.88rem;

        h4 {
          font-size: .453333rem;
          font-weight: bold;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .price {
          color: #f92424;
          font-size: .373333rem;
          padding: .266667rem 0;

          span {
            font-size: .506667rem;
          }
        }

        footer {
          color: #999999;
          font-size: .346667rem;

          span {
            padding-right: .533333rem;

            &:last-child {
              padding-right: 0;
            }
          }

        }


      }
    }

  }


}

.shop-con {
  border-top: 1px solid #eeeeee;

  .shop-banner {
    margin-top: .4rem;

    img {
      width: 100%;
      border-radius: .133333rem;
    }
  }

  .shop-list {
    padding: .4rem 0 .4rem .4rem;

    ul {
      display: flex;
      overflow-x: auto;

      li {
        margin-right: .4rem;
        width: 2.133333rem;

        figure {
          width: 2rem;
          height: 2rem;
          position: relative;

          img {
            max-width: 100%;
            max-height: 100%;
            border-radius: .133333rem;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
          }
        }

        section {
          padding-top: .266667rem;

          .tit {
            font-size: .346667rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .new-price {
            color: #f92424;
            font-size: .373333rem;
            font-weight: bold;
            padding-top: .133333rem;
          }

          .old-price {
            color: #999999;
            font-size: .293333rem;
            padding-top: .08rem;
          }
        }

      }
    }

  }
}


.offer-price {
  font-size: .373333rem;
  color: #999999;
  padding: .4rem 0 .213333rem 0;

  .red {
    color: #f92828;
    font-weight: bold;
  }
}

.ring-con .ring-list li section h4 .hot {
  background-color: #ff3d3e;
  color: #fff;
  font-weight: normal;
  border-radius: .106667rem;
  display: inline-block;
  font-size: .32rem;
  padding: .066667rem .133333rem;
  margin-right: .133333rem;
  position: relative;
  top: -0.026667rem;
}

.ring-con .ring-list li section footer .red {
  color: #f92424;
}

.news-con {
  border-top: 1px solid #eeeeee;
  padding-left: .4rem;

  .news-list {
    li {
      padding: .4rem .4rem .4rem 0;
      border-bottom: 1px solid #eeeeee;

      &:last-child {
        border-bottom: none;
      }

      section {
        display: flex;
        justify-content: space-between;

        .n-tit {
          width: 5.933333rem;
          font-size: .48rem;
          line-height: .64rem;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 3;
          overflow: hidden;
        }

        .imgs {
          .item {
            width: 2.8rem;
            height: 1.866667rem;
            position: relative;

            img {
              max-width: 100%;
              max-height: 100%;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
            }

          }

        }

      }

      footer {
        display: flex;
        justify-content: space-between;
        font-size: .373333rem;
        color: #999999;
        padding-top: .346667rem;

        .state-tips {
          display: flex;
          justify-content: space-between;
          width: 6.4rem;

          span {
            background-position: left center;
            padding-left: .453333rem;
            display: block;
            background-repeat: no-repeat;
            flex: 1;


            &:last-child {
              padding-right: 0;
            }

            &.zan-tip {
              background-image: url(../images/icon_zan.png);
              background-size: .32rem;
            }

            &.liulan-tip {
              background-image: url(../images/icon_pinglun.png);
              background-size: .32rem;
            }

            &.eye-tip {
              background-image: url(../images/icon_liulan.png);
              background-size: .32rem;
            }

          }

        }


      }
    }

  }
}

.news-con .news-list li.odd section {
  display: block;
}

.news-con .news-list li.odd section .n-tit {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.news-con .news-list li.odd .imgs {
  display: flex;
  justify-content: space-between;
  padding-top: .266667rem;

}

.load-more {
  height: 1.173333rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .426667rem;
  color: #999999;
  border-top: 1px solid #eeeeee;

  img {
    padding-right: .133333rem;
    height: .346667rem;
  }
}

.footer {
  background-color: #1f1f1f;

  .ft-con {
    padding: .693333rem .4rem .8rem .4rem;
    display: flex;
    align-items: flex-start;

    .wechart {
      width: 2.506667rem;
    }

    .tel-box {
      margin-left: .733333rem;
      padding-top: .32rem;
      display: flex;
      align-items: flex-start;

      .hotline {
        width: .88rem;
        height: auto;
      }

      .tel-con {
        color: #fff;
        font-size: .346667rem;
        color: #8c8c8c;
        padding-left: .32rem;

        strong {
          font-size: .64rem;
          color: #e2e2e2;
          font-weight: bold;
          padding: .133333rem 0;
          display: block;
        }
      }

    }



  }

  .info {
    font-size: .4rem;
    color: #636b71;
    line-height: .8rem;
    padding: 0 .4rem;
    padding-bottom: .533333rem;

    img {
      max-width: .32rem;
      margin-right: .226667rem;
    }
  }

  .copyRight {
    padding: .4rem;
    text-align: center;
    border-top: 1px solid #424242;
    color: #818283;
    font-size: .373333rem;
  }
}


.scroll-top {
  position: fixed;
  bottom: 10%;
  right: .4rem;
  width: 1.066667rem;
  height: 1.066667rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
  transform: scale(0);
  transition: 0.3s all;

  img {
    height: .493333rem;
  }

}

.scroll-top.active {
  transform: scale(1);
}



/* menu-popup */
.menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 200;
  display: none;
}

.menu-popup .menu-header {
  font-size: 18px;
  text-align: center;
  padding-top: 20px;
  position: relative;
}

.menu-popup .menu-header .close-menu {
  position: absolute;
  top: 18px;
  right: 15px;
  font-size: 20px;
}

.menu-item {
  padding: 0 10px 30px 10px;
  position: relative;
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  background: #f7f7f7
}

.menu-item-header {
  font-size: 16px;
  font-weight: bold;
  padding: 12px 0;
}

.menu-item:last-child::after {
  display: none
}

.menu-item ul li {
  width: 32%;
  float: left;
  height: 36px;
  line-height: 36px;
  color: #686868;
  margin: 2px;
  text-align: center;
  font-size: 14px;
  background: #f5f5f5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item ul li a {
  display: block;
  color: #636363;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}


/* 搜索弹框 */

.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 200;
  display: none;
}

.search-popup .search-header {

  height: 44px;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-popup .search-header .search-close-btn {
  width: 44px;
  height: 100%;
  line-height: 44px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.search-popup .search-header .search-close-btn i {
  font-size: 26px;
  position: relative;
  top: -2px;
}

.search-popup .search-header .search-input {
  padding: 0 60px 0 44px;
  width: 100%;
  height: 30px;
  position: relative;
}

.search-popup .search-header .search-input input {
  background: #f7f7f7;
  border-radius: 40px;
  height: 30px;
  line-height: 28px;
  width: 100%;
  padding: 0 0 0 44px;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
  left: 0;
}

.search-popup .search-header .icon-sousuo {
  font-size: 16px;
  position: absolute;
  left: 60px;
  top: 6px;
  z-index: 1;
  color: #bcbcbc
}

.search-popup .search-header .searchBtn {
  width: 44px;
  height: 44px;
  text-align: center;
  position: absolute;
  top: 7px;
  background: #ff0000;
  border-radius: 3px;
  right: 10px;
  width: 40px;
  color: #fff;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
}

.search_content {
  padding: 20px 10px 0 10px;
}

.search_content .h_header {
  font-size: 16px;
  padding-bottom: 10px;
}

.search_content ul li {
  float: left;
  padding: 0 12px;
  height: 24px;
  line-height: 24px;
  color: #686868;
  background: #f0f2f5;
  border-radius: 3px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.search_content ul li a {
  display: block;
  color: #686868;
  font-size: 14px;
}

.search_content ul li.active a {
  color: #ff0000;
}